{% extends base_template|default:"base.html" %}
{% load i18n %}
<html>
<head>
    <title>gne</title>
</head>
{% block content %}
<div align="center"><h2>Catalog</h2></div>
<table><td><table>
	
		<tr><td><b>Lab Work :</b></td>
 	</tr>

{% if material %}
    {% for materials in material %}	

<tr>
	<td><a class='open' href="{{ LOCAL_URL }}/automation/tcc/rate/hello/?id={{ materials.id }}">{{materials.name}}</a></td>
</tr>
	
	{% endfor %}
{% endif %}</td><tr></tr>
<tr><td><b>Field Work :</b></td>
 	</tr>
{% if field %}
    {% for materials in field %}	

<tr>
	{% if materials.id == mat.id %}
	<td bgcolor=#00FF00><a class='open' href="{{ LOCAL_URL }}/automation/tcc/rate/hello/?id={{ materials.id }}">{{materials.name}}</a></td>
	{% else %}
	<td><a class='open' href="{{ LOCAL_URL }}/automation/tcc/rate/hello/?id={{ materials.id }}">{{materials.name}}</a></td>
	{% endif %}
</tr>
	
	{% endfor %}
{% endif %}</td>
    
</table>

</html>
{% endblock %}
